package qimao.com.edu.DTO;

import java.time.LocalDateTime;

public class WorkQueryDTO {
    private Integer status = 1; // 上架的书
    private String gender; // 性别： "男"
    private Integer majorCategoryId; // 大分类ID
    private Integer minorCategoryId; // 小分类ID
    private Integer wordCountMin; // 最多字数
    private Integer wordCountMax; // 最少字数
    private LocalDateTime updateTime; // 更新时间
    private Integer isFinished; // 示例值: 0(未完结), 1(已完结)
    private Integer pageNum = 1; // 页码
    private Integer pageSize = 10; // 每页数量
    
	public WorkQueryDTO() {
		super();
	}

	public WorkQueryDTO(Integer status, String gender, Integer majorCategoryId, Integer minorCategoryId,
			Integer wordCountMin, Integer wordCountMax, LocalDateTime updateTime, Integer isFinished,
			Integer pageNum, Integer pageSize) {
		super();
		this.status = status;
		this.gender = gender;
		this.majorCategoryId = majorCategoryId;
		this.minorCategoryId = minorCategoryId;
		this.wordCountMin = wordCountMin;
		this.wordCountMax = wordCountMax;
		this.updateTime = updateTime;
		this.isFinished = isFinished;
		this.pageNum = pageNum;
		this.pageSize = pageSize;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Integer getMajorCategoryId() {
		return majorCategoryId;
	}

	public void setMajorCategoryId(Integer majorCategoryId) {
		this.majorCategoryId = majorCategoryId;
	}

	public Integer getMinorCategoryId() {
		return minorCategoryId;
	}

	public void setMinorCategoryId(Integer minorCategoryId) {
		this.minorCategoryId = minorCategoryId;
	}

	public Integer getWordCountMin() {
		return wordCountMin;
	}

	public void setWordCountMin(Integer wordCountMin) {
		this.wordCountMin = wordCountMin;
	}

	public Integer getWordCountMax() {
		return wordCountMax;
	}

	public void setWordCountMax(Integer wordCountMax) {
		this.wordCountMax = wordCountMax;
	}

	public LocalDateTime getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(LocalDateTime updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getIsFinished() {
		return isFinished;
	}

	public void setIsFinished(Integer isFinished) {
		this.isFinished = isFinished;
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	@Override
	public String toString() {
		return "WorkQueryDTO [status=" + status + ", gender=" + gender + ", majorCategoryId=" + majorCategoryId
				+ ", minorCategoryId=" + minorCategoryId + ", wordCountMin=" + wordCountMin + ", wordCountMax="
				+ wordCountMax + ", updateTimeStart=" + updateTime + ", isFinished=" + isFinished + ", pageNum="
				+ pageNum + ", pageSize=" + pageSize + "]";
	}

	
}
